<template lang="pug">
  div.m-crumbs
    el-breadcrumb(separator=">")
      el-breadcrumb-item(:to="{ path: '/' }") {{ $store.state.geo.position.city.replace('市','') }}美团
      el-breadcrumb-item(:to="{ path: '/' }") {{ $store.state.geo.position.city.replace('市','') }}{{ type }}
      el-breadcrumb-item
        a(href="/") {{ $store.state.geo.position.city.replace('市','') }}{{ decodeURIComponent(keyword) }}
</template>

<script type="text/ecmascript-6">
  export default {
    props: {
      keyword: {
        type: String,
        default: ''
      },
      type: {
        type: String,
        default: ''
      }
    }
  }
</script>
